package com.chb.docter.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Collection;
import java.util.Map;

/**
 * @author: 陈海彬
 * @date: Created in 2023/12/11 19:47
 * @description:
 * @modified By:
 * @version:
 */
@ApiModel(description = "医生排班返回信息")
@NoArgsConstructor
@AllArgsConstructor
@Data
public class SchedulingDto {

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "部门id")
    private Long deptId;

    @ApiModelProperty(value = "值班类型  1.上午值班   2.下午值班   3.晚上值班")
    private String subsectionType;


    @ApiModelProperty(value = "存放值班的时间段    门诊还是急诊")
    private Collection<String> schedulingType;

    @JsonIgnore
    private Map<String, String> record;

    public SchedulingDto(Long userId, Long deptId, String subsectionType, Map<String, String> record) {
        this.userId = userId;
        this.deptId = deptId;
        this.subsectionType = subsectionType;
        this.record = record;
    }
}